package com.codeape.number.ui;

import android.app.Activity;
import android.util.Log;
import android.view.View;

import com.codeape.number.base.mvvm.command.Command;

/**
 * Created by Ming on 2018/9/19.
 */

public class MainViewModel {

    Activity activity;

    MainViewModel(Activity activity) {
        this.activity = activity;
    }

    public void clickCommand(View v) {
        Log.i("ming", "点击了一下");
    }

    /**
     * 申请代理
     */
    public Command dd = new Command(() -> Log.i("ming", "点击了一下"));
}